   <include file="App/Admin/View/Public/left.html"/>
    <div class="main-wrap">
        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="{:U('Index/index')}">首页</a><span class="crumb-step">&gt;</span><span class="crumb-name">购买矿机列表</span></div>
        <div class="search-wrap">
            <div class="search-content">
				<div class="search-wrap">
					<div class="search-content">
						<form action="{:U('Kuang/log')}" method="post">
							<table class="search-tab">
								<tr>
									<th width="70">购买人:</th>
									<td><input class="common-text" placeholder="购买人" name="name" value="{$name}" id="member_name" type="text"></td>
                                    <th width="70">购买人ID:</th>
									<td><input class="common-text" placeholder="购买人ID" name="member_id" value="{$member_id}" id="member_id" type="text"></td>
									<td><input class="btn btn-primary btn2" name="sub" value="查询" type="submit"></td>
                                 </tr>
							</table>
						</form>
					</div>
				</div>
			</div>
        </div>
        <div class="result-wrap">
           		
                <div class="result-title">
                </div>
                
                <div class="result-content">
                    <table class="result-tab" width="100%">
                        <tr>
                            <th>ID</th>
                            <th>购买人</th>                           
                            <th>矿机名称</th>
                            <th>购买价格</th>
                            <th>使用期限</th>
                            <th>更新时间</th>
                            <th>操作</th>
                        </tr>
  						<volist name='info' id='vo'>
                        <tr>
                            <td>{$vo.id}</td>
                            <td>{$vo.email}</td>
                            <td>{$vo.kname}</td>
                            <td>{$vo.price}</td>
                            <td>{$vo.usetime}</td>
                            <td>{$vo.buy_time|date='Y-m-d H:i:s',###}</td>
                            <td>	
                            </td>                        
                        </tr>
                        </volist>
                    </table>
                    <div class="list-page"> <ul>{$page}</ul></div>
                </div>
          
        </div>
    </div>
    <!--/main-->
</div>
</body>
</html>
<script>

$("#myform").ready(function(e) {
	var num = parseInt($("#article_category_id").val());
	switch(num){
		case 1:
			$(".sub-menu").eq(9).children("li").eq(0).addClass("on");
			break;
		case 2:
			$(".sub-menu").eq(9).children("li").eq(1).addClass("on");
			break;
		case 6:
			$(".sub-menu").eq(9).children("li").eq(2).addClass("on");
			break;
		case 7:
			$(".sub-menu").eq(9).children("li").eq(3).addClass("on");
			break;
		}
});
$(".sub-menu").eq(4).show();
$(".sub-menu").eq(4).children("li").eq(0).addClass("on");
</script>